<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
require_once '../model/fornecedorModel.php';

/**
 * Description of entradaModel
 *
 * @author Santos
 */
class entradaModel {

    private $id;
    private $dataEntrada;
    private $fornedorModel;
    private $total;

    public function getId() {
        return $this->id;
    }

    public function getDataEntrada() {
        return $this->dataEntrada;
    }

    public function getFornedorModel() {
        if ($this->fornedorModel == null) {
            $this->fornedorModel = new fornecedorModel();
        }
        return $this->fornedorModel;
    }

    public function getTotal() {
        return $this->total;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function setDataEntrada($dataEntrada) {
        $this->dataEntrada = $dataEntrada;
    }

    public function setFornedorModel($fornedorModel) {
        $this->fornedorModel = $fornedorModel;
    }

    public function setTotal($total) {
        $this->total = $total;
    }

}
